#include<iostream>
#include<stdio.h>
using namespace std;

int main() {
   char tmp;
   
   while(scanf("%c", &tmp) == 1) {
      if(tmp == '\n') {
         cout << endl;
         continue;
      }
      printf("%c", tmp-7);
   }   
   return 0;
} 
